home *** CD-ROM | disk | FTP | other *** search
- Path: jaring.my!usenet
- From: Tan Shu Wei <tsw@shuwei.pl.my>
- Newsgroups: comp.lang.c
- Subject: Help on random numbers
- Date: 6 Feb 1996 07:50:59 GMT
- Organization: cmsg cancel <47du5b$g6k@news.gate.net>
- Message-ID: <4f7193$4bi@jaring.my>
- NNTP-Posting-Host: j6.ptl1.jaring.my
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
-
- Hi everyone. I need some help on generating random numbers.
-
- I'm using Turbo C++ under DOS, and I would like to know how
- to generate random numbers. I've tried using random() and
- randomize() but I keep getting the same random number. Can
- help me, or even give me a short explanation on how randomize()
- works?
-
- Please e-mail. Thanks.
-
- --
- Shoe,
- tsw@shuwei.pl.my
-
-